﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SceneLib
{
    public class Intersection
    {
        public bool IsIntersected { get; set; }
        public float T { get; set; }         
        public SceneMaterial Material { get; set; }
        public Vector Normal { get; set; }
        public Vector P { get; set; }
        public SceneObject ObjectScene { get; set; }
        
        public static Intersection NOINTERSECT = new Intersection
        {
            IsIntersected = false,
            T = Single.PositiveInfinity,
            Material = null,
            Normal = null,
            P = null,
            ObjectScene = null
        };
    }
}
